﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="Suatintuc.aspx.cs" Inherits="admin_Suatintuc" Title="Untitled Page" %>

<%@ Register assembly="CKEditor.NET" namespace="CKEditor.NET" tagprefix="CKEditor" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form id="form1" runat="server">
    <table style="width:100%;">
        <tr>
             <td width="30%">
                <asp:Label ID="Label8" runat="server" Text="Mã Tin Tức"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtMaTinTuc" runat="server" Width="236px" Enabled="False"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="30%">
                <asp:Label ID="Label1" runat="server" Text="Tiêu Đề"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtTieuDe" runat="server" Width="236px"></asp:TextBox>
                (*)<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtTieuDe" ErrorMessage="Nhập tiêu đề!"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label2" runat="server" Text="Mô Tả"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtMoTa" runat="server" Width="236px"></asp:TextBox>
                (*)<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtMoTa" ErrorMessage="Nhập mô tả!"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" Text="Chi Tiết"></asp:Label>
            </td>
            <td>
                
                <CKEditor:CKEditorControl ID="fckchitiet" runat="server" Height="224px" 
                    Width="349px"></CKEditor:CKEditorControl>
                
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label4" runat="server" Text="Ngày Đăng"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="ddlngay" runat="server">
                </asp:DropDownList>
                <asp:Label ID="Label6" runat="server" Text="/"></asp:Label>
                <asp:DropDownList ID="ddlthang" runat="server">
                </asp:DropDownList>
                <asp:Label ID="Label7" runat="server" Text="/"></asp:Label>
                <asp:DropDownList ID="ddlnam" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label5" runat="server" Text="Hình Ảnh"></asp:Label>
            </td>
            <td>
                <asp:FileUpload ID="UpLoadHinhAnh" runat="server" Height="28px" />
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label9" runat="server" Text="Nhân Viên"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="ddlTenNhanVien" runat="server" Width="235px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="btSave" runat="server" Text="Save" onclick="btSave_Click" 
                    Width="64px" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="btCancel" runat="server" Text="Cancel" 
                    onclick="btCancel_Click" />
            </td>
        </tr>
    </table>
    </form>
</asp:Content>

